<!DOCTYPE html>
<style>
span.error {
	color: red;
}
</style>
<section class="content-header" style="padding: 3px 15px 0 15px;">
	<ol class="breadcrumb" id="nav_title"
		style="position:static;float:none;margin-bottom: 5px;">
		<li class="active"><i class="fa fa-home"
			style="font-size:20px;position:relative;top:2px;left:-3px;"></i>
			&nbsp; <a href="${rc.contextPath}/sys/index">首页</a></li>
		<li class="active">评估中心</li><li class="active">品述信息</li>
	</ol>
</section>
<div class="container-fluid">
	<div class="box box-primary">
		<div id="toolbar">
			<button id="add" type="button" class="btn" data-toggle="modal" data-target="#modal-add" style="margin-left:10px;padding:3px 18px;background:#3399fe;color:#fff;height: 35px;">新增</button>
			<button id="edit" type="button" class="btn" style="margin-left:10px;padding:3px 18px;background:#3399fe;color:#fff;height: 35px;">编辑</button>
			<button id="deleteBtn" type="button" class="btn" style="margin-left:10px;padding:3px 18px;background:#3399fe;color:#fff;height: 35px;">删除</button>
		</div> 
		<div class="row">
			<table id="table" data-toggle="table" data-url="introGoodLists" data-striped="true" data-toolbar="#toolbar" data-query-params="queryParams"  data-pagination="true" data-search="true" data-page-size="10">
				<thead>
					<tr>
						<th data-checkbox="true"></th>
						<th data-align="center" data-field="id" data-sortable="true">编号</th>
						<th data-align="center" data-field="title" data-sortable="true">标题</th>
						<th data-align="center" data-field="author" data-sortable="true">作者</th>
						<th data-align="center" data-field="time" data-sortable="true">时间</th>
						<th data-align="center" data-formatter="operating_status" data-events="operateEvents">操作</th>
					</tr>
				</thead>
			</table>
		</div>
	</div>
</div>
<!-- 详情弹窗 -->
<div class="modal fade" id="modal-detail" aria-labelledby="modalLabel" aria-hidden="true" tabindex="-1">
	<div class="modal-dialog" style="width:900px;">
		<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
					<h4 class="modal-title" id="modalEditLabel">详情</h4>
				</div>
				<div class="modal-body">
					 <div class="row">
										
						<table id="table" style="width: 800px;" data-striped="true" >
							<thead>
								 <tr>
							      	<th data-align="center" style="width: 100px; height: 40px;">编号</th>
							      	<td data-align="center" colspan="6" style="width: 100px; height: 40px;" id="id"></td>
							     </tr> 
							      <tr>
							      	<th data-align="center" style="width: 100px; height: 40px;" >标题</th>
							      	<td data-align="center" colspan="6" style="width: 100px; height: 40px;" id="title"></td>
							      </tr> 
							       <tr>
							      	<th data-align="center" style="width: 100px; height: 40px;" >作者</th>
							      	<td data-align="center" style="width: 100px; height: 40px;" id="author"></td>
							      	<th data-align="center"  style="width: 100px; height: 40px;">时间</th>
							      	<td data-align="center"  style="width: 100px; height: 40px;" id="time"></td>
							      </tr>
							      <tr>
							      	<th data-align="center" colspan="6"  style="width: 100px; height: 40px;">内容</th>
							      </tr> 
							      <tr>
							      	<td colspan="6" style="width: 100px; height: 200px;" id="content"></td>
							      </tr> 
							      <tr>
							      	<th data-align="center" colspan="6"  style="width: 100px; height: 40px;">图片</th>
							      </tr> 
							      <tr>
							      	<td data-align="center" colspan="6" id="imges" style="width: 100px; height: 200px;">
							      		<!-- <img alt="" src="" id="imageUrl"> -->
							      	</td>
							      </tr> 
							   </thead>
						</table>
					 </div> 
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default closeBtn" data-dismiss="modal">关闭</button>
				</div>
		
			</div>
		</div>
	</div>
</div>


<!-- 新增的弹窗 -->
<div class="modal fade" id="modal-add" aria-labelledby="modalEditLabel" aria-hidden="true" tabindex="-1">
	<div class="modal-dialog">
		<div class="modal-content">
			<form class="form-horizontal" id="addForm" action="" method="post">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
					<h4 class="modal-title" id="modalEditLabel">新增信息</h4>
				</div>
				<div class="modal-body">
					<div class="form-group">
						<label class="col-sm-3 control-label">标&emsp;&emsp;题</label>
						<div class="col-sm-9">
							<input name="title" id="a_title" type="text" class="form-control" placeholder="标题">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">作&emsp;&emsp;者</label>
						<div class="col-sm-9">
							<input name="author" id="a_author" maxlength="10" type="text" class="form-control" placeholder="作者">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">内&emsp;&emsp;容</label>
						<div class="col-sm-9">
							<textarea name="content" id="a_content" style="resize:none" class="form-control" placeholder="请在此处输入..."></textarea>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">图&emsp;&emsp;片</label>
						<div class="col-sm-9">
							<input type="file" name="file">
						</div>
				    </div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default closeBtn" data-dismiss="modal">关闭</button>
					<button id="saveBtn" type="submit" class="btn btn-primary">新增</button>
				</div>
			</form>
		</div>
	</div>
</div>


<!-- 修改的弹窗 -->
<div class="modal fade" id="modal-edit" aria-labelledby="modalEditLabel" aria-hidden="true" tabindex="-1">
	<div class="modal-dialog">
		<div class="modal-content">
			<form class="form-horizontal" id="addForm" action="" method="post">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
					<h4 class="modal-title" id="modalEditLabel">修改信息</h4>
				</div>
				<div class="modal-body">
					<div class="form-group">
						<label class="col-sm-3 control-label">编&emsp;&emsp;号</label>
						<div class="col-sm-9">
							<input name="e_id" id="e_id" type="text" class="form-control" disabled="disabled">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">标&emsp;&emsp;题</label>
						<div class="col-sm-9">
							<input name="e_title" id="e_title" type="text" class="form-control" placeholder="标题">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">作&emsp;&emsp;者</label>
						<div class="col-sm-9">
							<input name="e_author" id="e_author" maxlength="10" type="text" class="form-control" placeholder="作者">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">时&emsp;&emsp;间</label>
						<div class="col-sm-9">
							<input name="e_time" id="e_time" maxlength="10" type="text" class="form-control" placeholder="时间">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">内&emsp;&emsp;容</label>
						<div class="col-sm-9">
							<textarea name="e_content" id="e_content" style="resize:none" class="form-control" placeholder="请在此处输入..."></textarea>
						</div>
					</div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default closeBtn" data-dismiss="modal">关闭</button>
					<button id="editBtn" type="submit" class="btn btn-primary">修改</button>
				</div>
			</form>
		</div>
	</div>
</div>


<customScript> 
	<script type="text/javascript" src="${rc.contextPath}/views/admin/business/introGood.js"></script> 
</customScript>


